﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="value.aspx.cs" Inherits="manage_channel_value" %>
<%@ Import NameSpace="System.Data"%>
<%@ Register Src="../../controls/PageNavigator.ascx" TagName="PageNavigator" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>字段管理</title>
<link href="../../sysImages/<%Response.Write(NetCMS.Config.UIConfig.CssPath());%>/css/css.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="../../configuration/js/Prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="../../configuration/js/Public.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table id="top1" width="100%"  border="0" cellpadding="0" cellspacing="0" class="toptable">
            <tr>
              <td height="1" colspan="2"></td>
            </tr>
            <tr>
              <td width="57%" class="sysmain_navi" style="padding-left:14px;">字段管理</td>
              <td width="43%">位置导航：<a href="../main.aspx" class="list_link" target="sys_main">首页</a><img alt="" src="../../sysImages/folder/navidot.gif" border="0" /><a href="list.aspx" class="list_link" target="sys_main">频道列表</a><img alt="" src="../../sysImages/folder/navidot.gif" border="0" />字段管理</td>
            </tr>
    </table>
    <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="Navitable">
      <tr>
        <td  style="padding-left:12px;"><a href="value.aspx?ChID=<%Response.Write(Request.QueryString["ChID"]); %>" class="topnavichar">字段列表</a>&nbsp;┋&nbsp;<a href="value_add.aspx?ChID=<%Response.Write(Request.QueryString["ChID"]); %>" class="topnavichar" >添加字段</a>     
            <asp:CheckBox ID="reviewvalue" onclick="showsysvalue();" Text="<span class='reshow'>查看系统字段</span>" runat="server" /></td>
      </tr>
      </table>
      <table id="sysValue" style="display:none;font-size:11.5px;"  width="98%" border="0" align="center" cellpadding="4" cellspacing="1" class="table">
      <tr class="TR_BG_list" style="text-align:left;"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="width:180px;" style="font-size:11.5px;">频道ID(ChID)</td>
        <td style="width:250px;" style="font-size:11.5px;">数字型 int (4) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">内容标题(title)</td><td style="font-size:11.5px;">单行文本 nvarchar (100) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">栏目ID(ClassID)</td><td style="font-size:11.5px;">数字型 int (4) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">专题(SpecialID)</td><td style="font-size:11.5px;">单行文本 nvarchar (200) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">标题颜色(TitleColor)</td><td style="font-size:11.5px;">单行文本 nvarchar (10) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">是否斜体(TitleITF)</td><td style="font-size:11.5px;">数字型 TinyInt (1) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">是否粗体(TitleBTF)</td><td style="font-size:11.5px;">数字型 TinyInt (1) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">图片地址(PicURL)</td><td style="font-size:11.5px;">单行文本 nvarchar (200) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">内容正文(Content)</td><td style="font-size:11.5px;">备注型 ntext (16) Null (带编辑器)</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">内容导读(NaviContent)</td><td style="font-size:11.5px;">单行文本 nvarchar (200) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">内容属性(ContentProperty)</td><td style="font-size:11.5px;">单行文本 nvarchar (9) Null (推荐|热点|幻灯|滚动|头条)</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">作者(Author)</td><td style="font-size:11.5px;">单行文本 nvarchar (100) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">来源(Souce)</td><td style="font-size:11.5px;">单行文本 nvarchar (100) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">权重(OrderID)</td><td style="font-size:11.5px;">数字型 tinyint (1) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">关键字(Tags)</td><td style="font-size:11.5px;">单行文本 nvarchar (100) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">静态生成模板地址(Templet)</td><td style="font-size:11.5px;">单行文本 nvarchar (200) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">静态生成保存路径(savePath)</td><td style="font-size:11.5px;">单行文本 nvarchar (200) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">静态生成文件名(FileName)</td><td style="font-size:11.5px;">单行文本 nvarchar (100) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">是否具有浏览权限(isDelPoint)</td><td style="font-size:11.5px;">数字型 tinyint (1) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">G币(Gpoint)</td><td style="font-size:11.5px;">数字型 int (4) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">积分(ipoint)</td><td style="font-size:11.5px;">数字型 int (4) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">会员组(GroupNumber)</td><td style="font-size:11.5px;">单行文本 nvarchar (200) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">META关键字(Metakeywords)</td><td style="font-size:11.5px;">单行文本 nvarchar (200) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">META描述(Metadesc)</td><td style="font-size:11.5px;">单行文本 nvarchar (200) Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">点击(click)</td><td style="font-size:11.5px;">数字型 int (4) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">创建日期(creattime)</td><td style="font-size:11.5px;">长日期型 datetime (8) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">是否生成了静态(isHTML)</td><td style="font-size:11.5px;">数字型 tinyint (1) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">是否是投稿(isConstr)</td><td style="font-size:11.5px;">数字型 tinyint (1) not Null</td>
      </tr>
      <tr class="TR_BG_list"  onmouseover="overColor(this)" onmouseout="outColor(this)">
        <td style="font-size:11.5px;">是否锁定(islock)</td><td style="font-size:11.5px;">数字型 tinyint (1) not Null</td>
      </tr>
      </table>
    <asp:Repeater ID="Fieldslists" runat="server" OnItemCommand="DataList1_ItemCommand">
       <HeaderTemplate>
        <table width="98%" border="0" align="center" cellpadding="4" cellspacing="1" class="table">
          <tr class="TR_BG" style="text-align:left;">
            <td class="sys_topBg" style="width:30px;">权重</td>
            <td class="sys_topBg" style="width:180px;">字段名称(别名)</td>
            <td class="sys_topBg" style="width:80px;">所属频道</td>
            <td class="sys_topBg" style="width:260px;">字段类型</td>
            <td class="sys_topBg" style="width:60px;text-align:center;">会员可用</td>
            <td class="sys_topBg" style="text-align:center;">操作</td>
          </tr>
            </HeaderTemplate>
              <ItemTemplate>
          <tr class="TR_BG_list" onmouseover="overColor(this)" onmouseout="outColor(this)">
            <td style="text-align:center;"><%#((DataRowView)Container.DataItem)["OrderID"]%></td>
            <td style="font-size:11.5px;"><%#((DataRowView)Container.DataItem)["FieldName"]%> (<%#((DataRowView)Container.DataItem)["EName"]%>)</td>
            <td><%#((DataRowView)Container.DataItem)["ChannelName"]%></td>
            <td style="font-size:11.5px;"><%#((DataRowView)Container.DataItem)["FieldType"]%></td>
            <td style="text-align:center;"><%#((DataRowView)Container.DataItem)["isUserStr"]%></td>
            <td style="text-align:center;"><%#((DataRowView)Container.DataItem)["op"]%>&nbsp;</td>
          </tr>
          </ItemTemplate>
          <FooterTemplate>
          </table>
         </FooterTemplate>
    </asp:Repeater> 
    <table width="98%" border="0" align="center" cellpadding="3" cellspacing="2" style="height: 20px">
       <tr>
         <td align="right">
          <uc1:PageNavigator ID="PageNavigator1" runat="server" /></td>
       </tr>
    </table>
    </form>
    <br />
    <br />
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="copyright_bg" style="height: 76px">
       <tr>
         <td align="center"><label id="copyright" runat="server" /></td>
       </tr>
    </table>
</body>
</html>
<script language="javascript" type="text/javascript">
function showsysvalue()
{
    var checkid=document.getElementById("sysValue");
    if(document.getElementById("reviewvalue").checked)
    {
       checkid.style.display=""; 
    }
    else
    {
       checkid.style.display="none"; 
    }
}
</script>
